<%@ page contentType="text/html; charset=utf-8" %>
<%@ include file="/WEB-INF/jsp/com/include/declare.jspf" %>
<%@ include file="/WEB-INF/jsp/com/include/doctype.jspf" %>
<script type="text/javascript" src="/kr/common/js/pie/pie_ready.js"></script>
<script type="text/javascript" src="<c:url value='/common/js/jquery-1.7.1.js'/>"></script>
<script type="text/javascript" src="<c:url value='/common/js/jquery-ui-1.8.16.custom.min.js'/>"></script>
<script type="text/javascript" src="<c:url value='/common/js/jquery-popup.0.2.js'/>"></script>
<script type="text/javascript" src="<c:url value='/common/js/ajaxupload.js'/>"></script>
<script type="text/javascript" src="<c:url value='/common/js/Common.js'/>"></script>
<script type="text/javascript" src="/kr/common/js/pie/pie_ready.js"></script>
<script>

function pwdCheck(){
    var pwd = document.getElementById("pwd");
    
    if(pwd.value == "") {
        alert("비밀번호를 입력하여 주십시요");
        pwd.focus();
        return ;
    }
    $.post("<c:url value='/mpg/pwdCheck.do'/>",
            {
                'pwd' : pwd.value
            },
            function(data){
                var result={};
                var items = $(data).find("item");
                items.each(function(index,element){
                   var name = $(this).find("name").text();
                   var value = $(this).find("value").text();
                   result[name] = value;
                });
  
                if((result["result"] =="OK") && (result["chk"] == pwd.value)){
                    
                    var frm = document.pwdReConfirmFrom;
                    frm.action="<c:url value='/mpg/mbrInfoView.do'/>";
                    
                    frm.submit();  
                }
                else{
                    alert("비밀번호가 맞지 않습니다. 재입력하여주십시요");
                    
                    //selEmlTail.focus();
                    return false;                      
                }
                    
            }  
        );      
    
    
    
    
    
    
}
</script>

</head>
<body>
<%@ include file="/WEB-INF/jsp/com/include/layerpopup.jspf" %>
<div id="wrap" class="non-subnavigation">
    <%@ include file="/WEB-INF/jsp/com/include/navi_utill_sub.jspf" %>
    <%@ include file="/WEB-INF/jsp/com/include/navi_header.jspf" %>
    <hr />

    <%@ include file="/WEB-INF/jsp/com/include/sub_header_global03.jspf" %>
    <hr />

	<div id="container">
		<div id="subtitle-area"><div class="subtitle-area-inner">
			<%@ include file="/WEB-INF/jsp/com/include/location.jspf" %>
		</div></div>
    
		<div id="article">
			<ul class="mypage-navigation">
                <li><a href="<c:url value="/mpg/summeryList.do"/>"><img src="/kr/images/global_menu/navi_mypage01_out.gif" alt="나의 요약정보" /></a></li>
                <li><a href="<c:url value="/mpg/pwdCheckView.do"/>"><img src="/kr/images/global_menu/navi_mypage02_over.gif" alt="회원 정보" /></a></li>
                <li><a href="<c:url value="/mpg/QuotList.do"/>"><img src="/kr/images/global_menu/navi_mypage03_out.gif" alt="최근 견적" /></a></li>
                <li><a href="<c:url value="/mpg/ctlgListPaging.do"/>"><img src="/kr/images/global_menu/navi_mypage04_out.gif" alt="카탈로그 신청 이력" /></a></li>
                <li><a href="<c:url value="/mpg/tdaListPaging.do"/>"><img src="/kr/images/global_menu/navi_mypage05_out.gif" alt="시승 신청 이력" /></a></li>
                <li><a href="<c:url value="/mpg/mpgEvntInfoView.do"/>"><img src="/kr/images/global_menu/navi_mypage06_out.gif" alt="이벤트 참여 이력" /></a></li>
                <li><a href="<c:url value="/mpg/QAListPaging.do"/>"><img src="/kr/images/global_menu/navi_mypage07_out.gif" alt="Q&amp;A" /></a></li>
			</ul>
			<h4 class="subsection"><img src="/kr/images/title/h4_global_menu03_02.gif" alt="회원정보" /></h4>
			<div class="modify-contents-wrap">
				<h5><img src="/kr/images/title/h5_global_menu03_02_01.gif" alt="비밀번호 입력" /></h5>
				<p><img src="/kr/images/title/h5_global_menu03_02_01_desc.gif" alt="비밀번호를 재확인 합니다. 회원님의 개인정보 보호를 위해 비밀번호를 다시 확인해 주십시오." /></p>
               <form name="pwdReConfirmFrom" id="pwdReConfirmFrom"  method="post" onsubmit="return false">

				<div class="boardwrite-wrap02 subsection02">
					<table summary="비밀번호입력">
					<caption>비밀번호 재확인</caption>
					<colgroup>
						<col width="14%" />
						<col width="28%" />
						<col />
					</colgroup>
					<tbody>
					<tr>
						<th scope="row"><img src="/kr/images/global_menu/txt_global_menu03_02_01.gif" alt="비밀번호 재확인" /></th>
						<td>
							<input type="password" class="txt" style="width:226px;" name="pwd" id="pwd" />
						</td>
						<td class="tip-txt">회원정보 수정을 위해 다시 한 번 비밀번호를 입력해 주십시오.</td>
					</tr>
					</tbody>
					</table>
   
				</div>
                                 </form>
				<div class="btnwrap">
					<a href="javascript:pwdCheck()"><img src="/kr/images/common/button/btn_confirm.gif" alt="확인" /></a>
				</div>
			</div>
		</div>
	</div>
    
	<hr />
    <hr />
    <%@ include file="/WEB-INF/jsp/com/include/footer.jspf" %>